﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Directora.Master" AutoEventWireup="true" CodeBehind="BuscarMiembro.aspx.cs" Inherits="Interfaces.Miembro.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style2
        {
            width: 169px;
        }
        .style3
        {
            width: 581px;
            text-align: center;
        }
        .style4
        {
            width: 196px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex=0>
        <asp:View ID="View1" runat="server">
            <asp:Panel ID="Panel3" runat="server" GroupingText="Buscar Miembro" style="text-align: left">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><table style="width:100%;">
                    <tr>
                        <td class="style4">
                            &nbsp;</td>
                        <td class="style3">
                            <asp:TextBox ID="TextBox6" runat="server" Height="21px" 
                                style="text-align: center" Width="206px"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBox6_TextBoxWatermarkExtender" 
                                runat="server" TargetControlID="TextBox6" 
                                WatermarkText="Ingrese el nombre de la directora">
                            </ajaxToolkit:TextBoxWatermarkExtender>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="Button3" runat="server" 
                                Text="Buscar" onclick="Button3_Click" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                        <td class="style3">
                            <asp:DataList ID="Miembros" runat="server" style="margin-left: 0px" 
                                Width="582px">
                                <HeaderTemplate>
                                    <tr style="color: #000000">
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            <asp:Label ID="LabCI" runat="server">CI</asp:Label>
                                        </td>
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            &nbsp;<asp:Label ID="LabNombre" runat="server">Nombre</asp:Label>
                                        </td>
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            &nbsp;<asp:Label ID="Apellido" runat="server">Apellido</asp:Label>
                                        </td>
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            &nbsp;<asp:Label ID="Cargo" runat="server">Cargo</asp:Label>
                                        </td>
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            &nbsp;<asp:Label ID="Directora" runat="server">Directora</asp:Label>
                                            &nbsp;</td>
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            <asp:Label ID="Codirectora" runat="server">Codirectora</asp:Label>
                                        </td>
                                    </tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr style="color: #000000">
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="CI" runat="server" Text='<%#Eval("CI") %>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="nombre" runat="server" Text='<%#Eval("Nombre")%>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="Apellido0" runat="server" Text='<%#Eval("ApellidoPaterno") %>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="Cargo0" runat="server" Text='<% #Eval("Cargo")%>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:LinkButton ID="DireButn" runat="server" CommandArgument='<%#Eval("CI") %>' 
                                                OnClick="DirectorBtn_Click">Directora</asp:LinkButton>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:LinkButton ID="CodBtn" runat="server" CommandArgument='<%#Eval("CI") %>' 
                                                OnClick="CodiBtn_Click">Codirectora</asp:LinkButton>
                                        </td>
                                    </tr>
                                </ItemTemplate>
                            </asp:DataList>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            <asp:Label ID="errorLb" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                        <td class="style3">
                            <asp:Button ID="Volver" runat="server"  
                                Text="Volver a Programa" onclick="Volver_Click" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </asp:Panel>
        </asp:View>
        <br />
        <asp:View ID="View2" runat="server">
            <asp:Panel ID="Panel4" runat="server" GroupingText="Buscar Miembro" 
                style="text-align: left">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /><table style="width:100%;">
                    <tr>
                        <td class="style4">
                            &nbsp;</td>
                        <td class="style3">
                            <asp:TextBox ID="TextBox7" runat="server" Height="21px" 
                                style="text-align: center" Width="206px"></asp:TextBox>
                            <ajaxToolkit:TextBoxWatermarkExtender ID="TextBox6_TextBoxWatermarkExtender0" 
                                runat="server" TargetControlID="TextBox6" 
                                WatermarkText="Ingrese el nombre de la directora">
                            </ajaxToolkit:TextBoxWatermarkExtender>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="Button4" runat="server" 
                                Text="Buscar" onclick="Button4_Click" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</td>
                        <td class="style3">
                            <asp:DataList ID="Miembros0" runat="server" style="margin-left: 0px" 
                                Width="582px">
                                <HeaderTemplate>
                                    <tr style="color: #000000">
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            <asp:Label ID="LabCI0" runat="server">CI</asp:Label>
                                        </td>
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            &nbsp;<asp:Label ID="LabNombre0" runat="server">Nombre</asp:Label>
                                        </td>
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            &nbsp;<asp:Label ID="Apellido1" runat="server">Apellido</asp:Label>
                                        </td>
                                        <td bgcolor="#3a67b1" style="border:2px solid #123456;">
                                            &nbsp;<asp:Label ID="Cargo1" runat="server">Cargo</asp:Label>
                                        </td>
                                    </tr>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <tr style="color: #000000">
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="CI0" runat="server" Text='<%#Eval("CI") %>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="nombre0" runat="server" Text='<%#Eval("Nombre")%>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="Apellido2" runat="server" Text='<%#Eval("ApellidoPaterno") %>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:Label ID="Cargo2" runat="server" Text='<% #Eval("Cargo")%>'></asp:Label>
                                            &nbsp;</td>
                                        <td style="border:2px solid #123456;">
                                            <asp:LinkButton ID="DireButn0" runat="server" 
                                                CommandArgument='<%#Eval("CI") %>' onclick="DireButn0_Click" >Seleccionar</asp:LinkButton>
                                            &nbsp;</td>
                                    </tr>
                                </ItemTemplate>
                            </asp:DataList>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style4">
                            <asp:Label ID="errorLb0" runat="server" ForeColor="Red"></asp:Label>
                        </td>
                        <td class="style3">
                            <asp:Button ID="Volver0" runat="server"  
                                style="text-align: center" Text="Volver" 
                                onclick="Volver0_Click" />
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
            </asp:Panel>
        </asp:View>
    </asp:MultiView>
</asp:Content>
